package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.sup.SuperEntity;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商户奖励释放配置表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sc_dao_props_released_config")
public class DaoPropsReleasedConfig extends SuperEntity implements Serializable {
    /**
     * 商户ID
     */
    @TableField(value = "dao_id")
    private Long daoId;

    /**
     * 首次释放时间
     */
    @TableField(value = "initial_release_time")
    private Date initialReleaseTime;

    /**
     * 释放周期（天）
     */
    @TableField(value = "release_period")
    private Integer releasePeriod;

    /**
     * 释放速率（‱）JSON
     */
    @TableField(value = "release_json")
    private String releaseJson;

    /**
     * 是否启用释放限制
     */
    @TableField(value = "release_limit_enabled")
    private Boolean releaseLimitEnabled;

    /**
     * 用户待释放道具数量阈值
     */
    @TableField(value = "min_items_to_release")
    private Integer minItemsToRelease;

    /**
     * 活动规则图片URL
     */
    @TableField(value = "activity_rules_image_url")
    private String activityRulesImageUrl;
}